package cn.edu.scau.cmi.liyetian.client;

import cn.edu.scau.cmi.liyetian.simpleFactoryMethod.*;
import cn.edu.scau.cmi.liyetian.simpleFactoryMethod.domain.*;

public class SimpleFactoryMethodClient {
	public static void main(String[] args) {
		Meat beef = MeatFactory.getMeat("Beef");
		beef.cook();
		
		Meat pork = MeatFactory.getMeat("Pork");
		pork.cook();
		
		Meat chicken = MeatFactory.getMeat("Chicken");
		chicken.cook();
	}
}
